-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDPR consent management for madvertise bidder adapter #2655
Conversation
remove aliases
use parseSizesInput method
# Conflicts: # modules/madvertiseBidAdapter.js # test/spec/modules/madvertiseBidAdapter_spec.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @NLopezMad I took a look through the changes and they seem mostly good.
There are two points on the setup I saw in the spec file that aren't correct, but they're not breaking anything (since you kept the values consistent).
The code in the adapter file is working properly based on my testing.
I'm going to approve this PR, but I'm not going to merge it yet in case you want to update the spec file. I will ensure to merge it though before the next release so it gets included.
beforeEach(function () { | ||
let mockConfig = { | ||
consentManagement: { | ||
cmpApi: 'IAB', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a note more-so - the value will be iab
instead of IAB
.
consentManagement: { | ||
cmpApi: 'IAB', | ||
timeout: 1111, | ||
allowAuctionWithoutConsent: 'cancel' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to above, this should be a boolean
value (false
in this case) not the string cancel
. Passing in a string here actually causes the config to the opposite value (ie true
) which allows the auction to proceed without consent.
* New adapter madvertise * Update madvertiseBidAdapter.js remove aliases * Update madvertiseBidAdapter.js use parseSizesInput method * fix test parseSizesInput * fix lint parseSizesInput * remove seeanAd feature * remove console.log * Add gdpr consent management to madvertise module
* New adapter madvertise * Update madvertiseBidAdapter.js remove aliases * Update madvertiseBidAdapter.js use parseSizesInput method * fix test parseSizesInput * fix lint parseSizesInput * remove seeanAd feature * remove console.log * Add gdpr consent management to madvertise module
* New adapter madvertise * Update madvertiseBidAdapter.js remove aliases * Update madvertiseBidAdapter.js use parseSizesInput method * fix test parseSizesInput * fix lint parseSizesInput * remove seeanAd feature * remove console.log * Add gdpr consent management to madvertise module
* New adapter madvertise * Update madvertiseBidAdapter.js remove aliases * Update madvertiseBidAdapter.js use parseSizesInput method * fix test parseSizesInput * fix lint parseSizesInput * remove seeanAd feature * remove console.log * Add gdpr consent management to madvertise module
Type of change
Description of change
Add GDPR consent management to madvertise bidder adapter
Be sure to test the integration with your adserver using the Hello World sample page.
For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:
Add GDPR support variable to madvertise bidder adapter doc prebid.github.io#810
Other information